#include "QCalendarExDemo.h"
#include <QCalendarWidgetEx.h>

QCalendarExDemo::QCalendarExDemo(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::QCalendarExDemoClass())
{
    ui->setupUi(this);

    auto now = QDateTime::currentDateTime();
    ui->calendarEdit->setMinDateTime(now);
}

QCalendarExDemo::~QCalendarExDemo()
{
    delete ui;
}
